#pragma once
#include "Grid.h"
#include "main.h"
const static char	WATER		= '.';
const static char	LAND		= '+';
const static char	TREE		= '*';
const static char	MOUNTAIN	= '^';
const static char	BUILDING	= '@';
const static int	WIDTH		= 80;
const static int	HEIGHT		= 50;
const  int	GRID_WATER			= 0;
const  int	GRID_MAX_VAL		= 999999;
const  int	GRID_UNSORTED		= 999998;
static int amountOfIslands		= 0;//start off with the possibility of 1 island
static int amountOfTrees		= 0;
static int amountOfBuildings	= 0;
static int amountOfMountains	= 0;
static int neighbourFringeIter	= 1;

struct GridPoint{
	int feature;
	int islandID;
	int indexID;
	bool isLand;
	GridPoint():feature(GRID_WATER),isLand(false),islandID(999998){}
	GridPoint(const GridPoint &gp):feature(gp.feature),
		isLand(gp.isLand),islandID(gp.islandID),indexID(0){}
	~GridPoint(){}
};


